import request from '@/config/axios'

export const getOrderDetailById = async function (orderId) {
  return await request.get({
    url: '/order/getDetailById',
    params: {orderId: orderId}
  })
}

export const setOrderTotalPay = async function (orderData) {
  await request.post({
    url: "/order/setOrderTotalPay",
    data: orderData
  })
}
